glcontext: Store the updated area in the right place
authorBenjamin Otte <otte@redhat.com>
Sat, 18 May 2019 14:54:27 +0000 (16:54 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 18 May 2019 15:06:08 +0000 (17:06 +0200)
commitb76eb96c581f2dd1f84dcb32171382062a7ba3ad
treed2ae9f869199c275ff72ad25c1454f1c641b54d5
parent2bad613cb07bafc7bc4d22f9992562fa5bc831e1
glcontext: Store the updated area in the right place

We need to store the region *before* adding our own damage area, because
we want to only store the changes of this frame, not the whole history.

So do it in the same place Vulkan does it.

Fixes #1900
gdk/gdkglcontext.c